<?php

namespace App\Library\Requests\ProductOrder;

use App\Library\Requests\Base\SerialNumberRequest;

class ProductOrderPaymentRequest extends SerialNumberRequest
{
    public function rules(): array
    {
        return array_merge(parent::rules(), [
            'code' => 'required|string|size:32|regex:' . __('com.codeReg'),
        ]);
    }
}
